$def with (myknows, myactivs)

<div role="article" class="coursera-body" id="">
	<div class="container">
		<div class="coursera-full-canvas">
			<div style="margin-top: 20px;" class="row">
				<div class="span12">
					<div>
						<h3>My Knowledge</h3><br/>
						<div class="coursera-profile-courses-box">
							$if len(myknows)==0:
								<ul>You have not editted any knowledge!</ul>
							$for i, j in myknows.items():
								<ul><h4>$i</h4>
								$for item in j:
									<li><a href="/content?type=$(i)&kid=$(item.id)">$item.Name</a></li>
								</ul>
						</div>
					</div>
					<div class="coursera-profile-courses coursera-profile-section">
						<h3>My Comment Activities</h3>
						<div class="coursera-profile-courses-box">
							$if len(myactivs)==0:
								<ul>You have not any activities!</ul>
							$for i, j in myactivs.items():
								<ul><h4>$i</h4>
								$for item in j:
									<li>$item.comment -- on $i $item.rid at $item.date</li>
								</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>